﻿using System;
namespace CaiBaby.Model
{
	/// <summary>
	/// 账单
	/// </summary>
	[Serializable]
	public partial class Account
	{
		public Account(){}
		#region Model
		private int _aid;
		private int _uid=0;
		private bool _mark= false;
		private string _tag="";
		private string _describe="";
		private DateTime _recordtime= Convert.ToDateTime("1990-1-1");
		private decimal _moneys=0M;
		private int _direction=0;
		private DateTime _createtime= DateTime.Now;
		private int _checkstate=0;
		private DateTime _checktime= Convert.ToDateTime("1990-1-1");
		private int _mid=0;
		/// <summary>
		/// 
		/// </summary>
		public int AId
		{
			set{ _aid=value;}
			get{return _aid;}
		}
		/// <summary>
		/// 用户ID
		/// </summary>
		public int UId
		{
			set{ _uid=value;}
			get{return _uid;}
		}
		/// <summary>
		/// 是否标记(加星) 0为flase 1为true
		/// </summary>
		public bool Mark
		{
			set{ _mark=value;}
			get{return _mark;}
		}
		/// <summary>
		/// 用途标签
		/// </summary>
		public string Tag
		{
			set{ _tag=value;}
			get{return _tag;}
		}
		/// <summary>
		/// 具体描述
		/// </summary>
		public string Describe
		{
			set{ _describe=value;}
			get{return _describe;}
		}
		/// <summary>
		/// 记录时间
		/// </summary>
		public DateTime RecordTime
		{
			set{ _recordtime=value;}
			get{return _recordtime;}
		}
		/// <summary>
		/// 发生金额
		/// </summary>
		public decimal Moneys
		{
			set{ _moneys=value;}
			get{return _moneys;}
		}
		/// <summary>
		/// 流通方向 0收入 1支出
		/// </summary>
		public int Direction
		{
			set{ _direction=value;}
			get{return _direction;}
		}
		/// <summary>
		/// 记录创建时间
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 审核状态 0未审核 1审核通过 2不通过
		/// </summary>
		public int CheckState
		{
			set{ _checkstate=value;}
			get{return _checkstate;}
		}
		/// <summary>
		/// 审核时间
		/// </summary>
		public DateTime CheckTime
		{
			set{ _checktime=value;}
			get{return _checktime;}
		}
		/// <summary>
		/// 管理员ID
		/// </summary>
		public int MId
		{
			set{ _mid=value;}
			get{return _mid;}
		}
		#endregion Model
	}
}

